package com.ld.poetry.aigc.iflycode.laihg;

public class CodeContinue {
    public enum  CodeContinueType {
        TYPE_1,TYPE_2
    }

    public static void main(String[] args) {
        System.out.println(CodeContinueType.TYPE_1);
        System.out.println(CodeContinueType.TYPE_2);
        System.out.println(CodeContinueType.values());
        System.out.println(CodeContinueType.class.getEnumConstants());
        System.out.println(CodeContinueType.class.getEnumConstants()[1]);
        System.out.println(CodeContinueType.class.getEnumConstants()[1].toString());
        CodeContinueType[] codeContinueTypes = CodeContinueType.class.getEnumConstants();
        for (CodeContinueType codeContinueType : codeContinueTypes) {
            System.out.println(codeContinueType);
        }
    }

}
